package annotation.getters;

import org.openqa.selenium.WebElement;
import annotation.Args;
import annotation.IPropertityGetter;

public class TextPropertityGetter implements IPropertityGetter<String, WebElement> {
    @Override
    public String getPropertity(WebElement webElement, Object pageObject, Args addtionArgs) {
        return webElement.getText();
    }
}
